import request from '@/utils/request'
import querystring from 'querystring'

/**
 * 分页查询日志
 * @param {*} form 
 * @param {*} pageSize 
 * @param {*} currentPage 
 */
export function dataList(form, pageSize, currentPage) {
  const data = {
    param: form,
    pageSize: pageSize,
    pageNo: currentPage
  }
  return request.post('/base/operationLog/page',data)
}

/**
 * 删除日志
 * @param {*} id 
 */
export function deleteData(id) {
  return request.delete(`/base/operationLog/${id}`)
}
